package com.buba.pojo.system;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 消息公告表
 * </p>
 *
 * @author testjava
 * @since 2022-06-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="NewsBulletin对象", description="消息公告表")
public class NewsBulletin implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Integer id;

    @ApiModelProperty(value = "标题")
    private String newsTitle;

    @ApiModelProperty(value = "内容")
    private String newsContent;

    @ApiModelProperty(value = "图片")
    private String imgs;

    @ApiModelProperty(value = "上传者")
    private String newsUploader;

    @ApiModelProperty(value = "状态（0:消息公告；1:就医指南）")
    private String newsState;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;


}
